NthFieldB Function
Returns a field from a row of data. NthFieldB is identical to NthField except that it treats the source data as binary data.
Syntax
result = NthFieldB( source, separator, fieldNumber )
result = stringVariable.NthFieldB( separator, fieldNumber )
Parameters | ||
source |
The fields of data. |
|
separator |
The character that separates the columns of data. |
|
fieldNumber |
The column number of the field of data desired. The first field is numbered 1. |
The first field is numbered 1.
Notes
The NthFieldB function returns the field value from the source that precedes the fieldNumber occurrence of the separator in the source.
If fieldNumber is out of bounds, an empty string is returned. NthFieldB is not case-sensitive.
Examples
This example returns "Smith"
.
Using the second syntax:
See also the example that illustrates how to populate a PopupMenu control.
See Also
CountFieldsB, NthField, SplitB functions.